﻿/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function (config) {
    // Define changes to default configuration here. For example:
    // config.language = 'fr';
    // config.uiColor = '#AADC6E';
    config.skin = 'v2';
    config.language = 'zh-cn';

    config.font_names = '宋体;楷体;新宋体;黑体;隶书;幼圆;微软雅黑;Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana';

    config.toolbar_Full = [
    ['Smiley', 'SpecialChar'],
    ['-', 'SelectAll', 'RemoveFormat', 'Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript', 'NumberedList', 'BulletedList'],
    ['-', 'Outdent', 'Indent', 'Blockquote'],
    '/',
    ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
    ['Link', 'Unlink'],
    ['Table', 'HorizontalRule', 'FontSize', 'TextColor', 'BGColor'],
    '/',
    ['Styles', 'Format', 'Font']
    ];

    config.autoUpdateElement = true;
    config.toolbarCanCollapse = true;
    config.toolbarStartupExpanded = true;
    config.enterMode = 'br';
    config.shiftEnterMode = 'p';
};
